package com.cyh.exp;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

public class ces {
    public static void main(String[] args) {

                String username = "user";
        String password = "123456";
        BCryptPasswordEncoder encoder = new BCryptPasswordEncoder(10);
        String encodePassword = encoder.encode(password);
        System.out.println(String.format("username:%s,password:%s",username,encodePassword));

    }
}
